package com.yuxi.distributelock;

/**
 * Created by yuxi on 16/12/27.
 */
public interface RedisLockService {
    public Long lock(String key, String threadName);

    public void unlock(String key, long lockvalue, String threadName);
}
